package io.bdmc.modules.bss.service.impl;

import io.bdmc.common.annotation.DataFilter;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.BarSending;
import io.bdmc.modules.bss.mapper.BarSendingMapper;
import io.bdmc.modules.bss.model.SendingParam;
import io.bdmc.modules.bss.service.BarSendingService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 设备发送指令表 服务实现类
 * </p>
 *
 * @author HuangLu
 * @since 2019-01-10
 */
@Service
public class BarSendingServiceImpl extends ServiceImpl<BarSendingMapper, BarSending> implements BarSendingService {

    @Autowired
    private BarSendingMapper devmapper;

    @DataFilter(tableAlias = "dep", user = false)
    @Override
    public MyPage<BarSending> mySelectPage(MyPage<BarSending> page, SendingParam sendingParam) {
		return devmapper.mySelectPage(page, sendingParam);
	}

}
